package com.xiaoshuidi.cloud.module.contract.controller.admin.bill.vo.rentOrder;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/*
 * 生成账单的接口
 *
 * */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RentOrderCountVO {

    /**
     * 合同id
     */
    @Schema(description = "合同id")
    private Long contractId;

    /**
     * 租金
     */
    private BigDecimal rentAmount;
    /**
     * 押金
     */
    private BigDecimal depositAmount;

    /**
     * 杂费
     */
    private BigDecimal extrasAmount;
    /**
     * 优惠
     */
    private BigDecimal discountAmount;

    //免租费用
    private BigDecimal rentFreeAmount = BigDecimal.ZERO;
    /**
     * 总计
     */
    private BigDecimal countAmount;

}
